const names = {
  modelValue: "默认值",
  placeholder: "提示",
  label: "标签",
  value: "名称",
  model: "数据",
  draggable: "拖动",
  "value-on-clear": "清空值",
  "append-to-body": "注入页面",
  prefix: "前缀",
  split: "分隔符",
  showLabel: "显示标签",
  "label-width": "标签宽度",
  "label-position": "标签位置",
  "label-suffix": "标签后缀",
  "active-text": "激活文本",
  "inactive-text": "未激活文本",
  tag: "标签",
  width: "宽度",
  "native-type": "事件",
  "tab-position": "位置",
  height: "高度",
  top: "顶边距",
  icon: "图标",
  minHeight: "最小高度",
  minWidth: "最小宽度",
  minlength: "最短",
  maxlength: "最长",
  formatter: "格式",
  name: "名称",
  "suffix-icon": "后缀图",
  "prefix-icon": "前缀图",
  suffix: "后缀",
  class: "样式",
  text: "文字",
  bg: "背景",
  link: "链接",
  round: "圆角",
  circle: "圆形",
  loading: "加载中",
  disabled: "禁用",
  autofocus: "聚焦",
  clearable: "清空",
  "show-password": "显示密码",
  autosize: "自适应大小",
  autocomplete: "自动完成",
  dark: "暗黑",
  "step-strictly": "校验",
  readonly: "只读",
  controls: "控制",
  border: "边框",
  "allow-half": "半选",
  multiple: "多选",
  "collapse-tags": "折叠标签",
  autocomplete: "自动完成",
  filterable: "支持搜索",
  "auto-insert-space": "空格",
  inline: "行内显示",
  "show-message": "显示校验",
  "inline-message": "行内消息",
  "status-icon": "状态图标",
  "validate-on-rule-change": "立即验证",
  "scroll-to-error": "滚动错误",
  "collapse-tags-tooltip": "折叠提示",
  "show-word-limit": "字数限制",
  plain: "平板",
  stripe: "斑马纹",
  "show-header": "显示表头",
  closable: "可关闭",
  addable: "可添加",
  editable: "可编辑",
  stretch: "自动拉伸",
  show: "显示",
  min: "最小",
  max: "最大",
  step: "步长",
  precisievents: "精度",
  "multiple-limit": "多选数量",
  span: "跨度",
  layoutNum: "列排数量",
  precision: "精度",
  rows: "行数",
};
function getAttrName(label) {
  return names[label] || label || "";
}
export { getAttrName };
